package cn.wh.product.mapper;

import cn.wh.product.domain.Product;
import cn.wh.basic.mapper.BaseMapper;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaosang
 * @since 2022-06-30
 */
public interface ProductMapper extends BaseMapper<Product> {

    //假批量上架
    void onSale(Map<String, Object> map);

    //下架
    void offSale(Map<String, Object> map);
}
